//
//  JKPopoverCell.swift
//  afanti
//
//  Created by albert on 16/4/16.
//  Copyright © 2016年 albert. All rights reserved.
//

import UIKit

class JKPopoverCell: UITableViewCell {

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        
        textLabel!.x = CGRectGetMaxX((imageView?.frame)!) + 10
        textLabel?.width = 58
        
        
//        print(imageView?.frame)
//        print(textLabel?.frame)
//        print(CGRectGetMaxX((textLabel?.frame)!))
        
    }
    
}
